<extend name="Base/common"/>
<block name="head_css">
<link rel="stylesheet" href="__PUBLIC__/Green/css/usercenter.css" />
</block>
<block name="head_script">
<script type="text/javascript" src="__PUBLIC__/Green/js/usercenter.js"></script>
</block>
<block name="body">
    <div class="width1000">
        <div class="top_tit">
            <a href="{:U('User/index')}">用户中心</a> &gt;&gt; <a href="{:U('User/profit')}">收益管理</a> &gt;&gt; 收支记录
        </div>
        <div class="clearfix relative">
            <include file="User/nav" />
            <div class="user_center" style="border-top: 0px">
                <div class="cash_log">
                    <table class="table">
                        <tr>
                            <td width="160">日期</td>
                            <td>车牌号码</td>
                            <td>交易类型</td>
                            <td>初始金额</td>
                            <td>交易金额</td>
                            <td>结余金额</td>
                            <td>描述</td>
                        </tr>
        <notempty name="_list">
        <volist name="_list" id="vo">
                        <tr>
                            <td>{$vo.pdate}</td>
                            <td>{$vo.car_no}</td>
                            <td><eq name="vo['ptype']" value="1">收入<else />支出</eq></td>
                            <td>{$vo.initval}</td>
                            <td><eq name="vo['ptype']" value="1">+<else />-</eq>{$vo.chagval}</td>
                            <td>{$vo.endval}</td>
                            <td>{$vo.memo}</td>
                        </tr>
        </volist>
        <else/>
        <td colspan="7" class="text-center" style="height: 300px;">暂时还没有收支记录! </td>
        </notempty>
                    </table>
                    <div class="page">
                        {$_page}
                    </div>
                </div>
            </div>
        </div>
    </div>

        </div>
    </div>
</block>    
<block name="script">
<script type="text/javascript" src="__PUBLIC__/Green/js/insurance.js"></script>
<script type="text/javascript">
highlight_nav("{:U('User/profit')}");
</script>
</block>
